
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.Customer;
import cn.edu.scau.cmi.hombio.domain.Task;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for Customer entities
 * 
 */
public interface CustomerService {

	/**
	* Delete an existing Task entity
	* 
	 */
	public Customer deleteCustomerTasks(Integer customer_id, Integer related_tasks_id);

	/**
	* Return all Customer entity
	* 
	 */
	public List<Customer> findAllCustomers(Integer startResult, Integer maxRows);

	/**
	* Load an existing Customer entity
	* 
	 */
	public Set<Customer> loadCustomers();

	/**
	* Delete an existing Customer entity
	* 
	 */
	public void deleteCustomer(Customer customer);

	/**
	* Save an existing Customer entity
	* 
	 */
	public void saveCustomer(Customer customer_1);

	/**
	 */
	public Customer findCustomerByPrimaryKey(Integer id);

	/**
	* Return a count of all Customer entity
	* 
	 */
	public Integer countCustomers();

	/**
	* Save an existing Task entity
	* 
	 */
	public Customer saveCustomerTasks(Integer id_1, Task related_tasks);
}